define(["jquery","bbcare"],function ($,$bb) {
    var servers={};
    var URL = $bb.baseUrl("department")+"followup/service";
    /*
     * 血糖数据导入接口：
     * */
    servers.BGupLoadData = function(params,callback,otherParams){
        var sessionId = $bb.getSessionStorage("sessionId");
        $bb.ajax({
            url: URL + "/nutrition/bloodsugar/import?sessionId=" + sessionId,
            processData: false,  // 告诉jQuery不要去处理发送的数据
            contentType: false,
            data:params,
            success: function (data) {
                callback(data,otherParams);
            }
        });
    };
    return servers;
});